package com.zmzncs.lmtc.module.system.pojo.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2019-09-10
 */
@Data
public class UserUpdateFrom implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @NotNull
    private Long id;

    /**
     * 员工名称
     */
    @NotBlank
    private String username;

    /**
     * 账号
     */
    @NotBlank
    private String account;

    @ApiModelProperty(value = "性别 1：男，0，女")
    @NotNull
    private Integer sex;

    /**
     * 角色id
     */
    @NotNull
    private Long roleId;

    @ApiModelProperty(value = "部门id")
    @NotNull
    private Long deptId;

    @ApiModelProperty(value = "手机号")
    private String mobilephone;

    /**
     * 照片
     */
    private String avatar;

}
